<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:c="http://java.sun.com/jsp/jstl/core"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core">

    <body>

        <ui:composition template="./templates/basetemplate.xhtml">
            <ui:define name="content">
                <div class="signupsuccess">
                   <div class="top"> 
                    <h:outputLabel value="Your account created suceessfully. Now you can create work schedule, set alarm, share with friends and many more. Please login below."/>
                   </div> 
                    <div class="login">
                        <h:form>
                            
                             
                              <table>
                                <tr>
                                    <td><h:outputLabel value="User name"></h:outputLabel></td>
                                    <td><p:inputText id="userName" value="#{loginHandler.userName}"></p:inputText></td>
                                    <td><h:message for="userName" ></h:message></td>
                                </tr>
                                <tr>
                                    <td><h:outputLabel value="Password"></h:outputLabel></td>
                                    <td><p:inputText id="password" type="password" value="#{loginHandler.password}"></p:inputText></td>
                                    <td><h:message for="password" ></h:message></td>
                                </tr>
                                <tr>
                                    <td></td>
                                    <td style="text-align: right">
                                        <p:commandButton id="loggedIn" value="Login" action="#{loginHandler.login1()}" />
                                    </td>
                                    <td><h:message for="loggedIn" ></h:message></td>
                                </tr>
                             </table>
                           
                          
                        </h:form>
                        
                    </div>
                </div>               
            </ui:define>
        </ui:composition>

    </body>
</html>
